object SofitLoginService: TSofitLoginService
  OldCreateOrder = True
  SessionManager = ServerDataModule.SessionManager
  EventRepository = ServerDataModule.ROEventRepository
  OnLogout = SimpleLoginServiceLogout
  OnLogin = SimpleLoginServiceLogin
  Height = 300
  Width = 300
  object Schema: TDASchema
    ConnectionManager = ServerDataModule.ConnectionManager
    Datasets = <
      item
        Params = <
          item
            Name = 'password'
            DataType = datWideString
            Value = ''
          end
          item
            Name = 'username'
            DataType = datWideString
            Value = ''
          end>
        Statements = <
          item
            Connection = 'SysConnection'
            Default = True
            TargetTable = 'b_user'
            SQL = 
              'SELECT '#10'    bu_id, bu_cname, bu_depart,bu_name,bu_iid'#10'  FROM'#10'   ' +
              ' b_user'#10'  WHERE'#10'    bu_name=:username and isnull(bu_pwd,'#39#39')=:pas' +
              'sword'#10
            StatementType = stSQL
            ColumnMappings = <
              item
                DatasetField = 'bu_id'
                TableField = 'bu_id'
              end
              item
                DatasetField = 'bu_cname'
                TableField = 'bu_cname'
              end
              item
                DatasetField = 'bu_depart'
                TableField = 'bu_depart'
              end
              item
                DatasetField = 'bu_name'
                TableField = 'bu_name'
              end
              item
                DatasetField = 'bu_iid'
                TableField = 'bu_iid'
              end>
          end>
        Name = 'b_user'
        Fields = <
          item
            Name = 'bu_id'
            DataType = datGuid
            Required = True
            InPrimaryKey = True
          end
          item
            Name = 'bu_cname'
            DataType = datString
            Size = 30
          end
          item
            Name = 'bu_depart'
            DataType = datString
            Size = 30
          end
          item
            Name = 'bu_name'
            DataType = datString
            Size = 30
          end
          item
            Name = 'bu_iid'
            DataType = datAutoInc
          end>
      end>
    JoinDataTables = <>
    UnionDataTables = <>
    Commands = <>
    RelationShips = <>
    UpdateRules = <>
    Version = 0
    Left = 120
    Top = 130
  end
end
